<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<%@ include file="/jsp/front/common/header.jsp"%>
	</head>
	<body>
		<%@ include file="/jsp/front/common/nav.jsp"%>

		<div style="margin: auto; width: 985px;">
			<div class="MemberCenter">
				<div class="siteparttitle">
					<div class="gender"></div>
					<div class="info">
						<strong>您好:${member.name}</strong>&nbsp;&nbsp;[ 会员中心]&nbsp;&nbsp;[
						<a href="logout.html" class="lnk">退出</a>]
					</div>
					<div class="time"></div>
					<div style="clear: both;"></div>
				</div>

				<%@ include file="/jsp/front/member/memberNav.jsp"%>

				<div class="MemberMain">
					<div style="margin-right: 175px;">
						<div class="title">
							优惠券认证
						</div>
						<form class="section" action="member_coupon_verify_save.html" onsubmit="return check();" method="post">
							 
							<div class="FormWrap">								 
								<div class="division">
									<table width="100%" cellspacing="0" cellpadding="0" border="0" class="forform">
 
										<tr>
											<th>
												 优惠券号码：
											</th>
											<td>
												<input  style="width: 300px;" name="couponCode" id="coupon_code" class="x-input inputstyle" />
												<c:if test="${not empty reason}"><div class="valierror"  >${reason}</div></c:if>
											</td>
										</tr> 
										<tr>
											<th></th>
											<td>
												<input type="submit" value="认证" name="submit" /> 
											</td>
										</tr>

									</table>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>



		<%@ include file="/jsp/front/common/footer.jsp"%>
		<script type="text/javascript">
			document.getElementById('mc_coupon_verify').className = 'current';
			
			function check(){
				var value =  document.getElementById('coupon_code').value;
				if(value == ''){
					alert('请输入优惠券号码');
					return false;
				}
				return true;
			}
		</script>
	</body>
</html>